package com.explorati.design_pattern.hybrid.specification;

//规格接口
public interface IUserSpecification {

	// 候选者是否满足要求
	public boolean isSatisfiedBy(User user);

	// and操作
	public IUserSpecification and(IUserSpecification spec);

	// Or操作
	public IUserSpecification or(IUserSpecification spec);

	// not 操作
	public IUserSpecification not();
}
